package com.smile.frame.api.es.dto;

import com.smile.frame.common.page.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author LGC
 * @date 2021/12/2 18:22
 */
@Data
@ApiModel(description = "QueryProductsDTO")
public class QueryProductDTO implements Serializable {
    private static final long serialVersionUID = 837620216765101123L;

    @ApiModelProperty("分页查询对象")
    private PageQuery page;

    @ApiModelProperty(value = "产品ID集合")
    private List<Long> id_list;

    @ApiModelProperty(value = "产品名称")
    private String name;

    @ApiModelProperty(value = "产品code")
    private String code;

    @ApiModelProperty(value = "最低产品价格")
    private Long start_price;

    @ApiModelProperty(value = "最高产品价格")
    private Long end_price;

    @ApiModelProperty(value = "排序 1=价格正序、2=价格倒序")
    private Integer price_sort;


}